{% extends "base.xhtml" %}

{% block title%}Test buildings{% endblock %}

{% block content %}

{% for building in buildings %}

    <h2>{{ building.title }}</h2>
    <h4>{{ building.address }}</h4>
    <div>Total area: <strong>{{ building.totalArea }}</strong></div>
    <div><span>{{ building.postingDate }}</span> <span>Price: <strong>{{ building.price }}</strong></span></div>
{% endfor %}

{% endblock %}